package ru.dcsearch.indexer;

/***************************************************************************
 *   Created by TMC
 *   berechitai@gmail.com
 *
 *   This file is part of DC Indexer project
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 ***************************************************************************/


public class Logger {

	public static void printLog(String str) {
		
		
		System.out.println(str);
		
		
	}
    public static void printP2PLog(String str) {

            //System.out.println(str);

    }

    public static void printGlobalLog(String str) {


         System.out.println(str);

    }
    public static void printUsersLog(String str) {


         //System.out.println(str);

    }

    private static int dlCounter = 0;

    public static void printDownloadlProcess(long bytes) {


        System.out.print("" + (bytes)+" ");
        dlCounter++;
        if (dlCounter >= 70) {

            dlCounter = 0;
            System.out.println(' ');

        }

    }

}
